<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- bootstrap -->
    <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
    <script src="/assets/js/bootstrap.min.js"></script>
    <!-- md editor -->
    <link rel="stylesheet" href="/assets/editormd/css/editormd.min.css">
    <title>博客</title>
</head>

<body>
    <div class="container">
        {{ template "header" }}

        <div id="test-editor">
            <textarea style="display:none;">### 关于 Editor.md
        
        **Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器（组件），基于 CodeMirror、jQuery 和 Marked 构建。
            </textarea>
        </div>
        <script src="https://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
        <script src="assets/editormd/editormd.min.js"></script>
        <script type="text/javascript">
            $(function () {
                var editor = editormd("test-editor", {
                    // width  : "100%",
                    height: "640",
                    path: "assets/editormd/lib/"
                });
            });
        </script>
    </div>
</body>

</html>